import axios from 'axios'
export function upload(params) {
  return axios.post('http://localhost:8099/myblog/tsn/media/upload', params, {
    headers: { 'Content-Type': 'multipart/form-data' },
  })
}
